
<?php //use_helper("Highslide") ?>
<?php //use_helper("Javascript") ?>



              <td class="firms_item" align="left" width="50%" valign="top" style="border: 0px solid maroon; padding: 5px">
               <div class="center_block_back">
                   <div class="center_block_cone1">
                        <div class="center_block_cone2">
                            <div class="center_block_cone3">
                                <div class="center_block_cone4">
                	<div class="" align="center">
                	
				<?php if($v->getPhotoPath()!=''):?>
				<div style="float: left;  margin: 5px;  ">
				 <?php // echo highslide('/uploads/material/journal/'.$v->getPhotoPath(), '/uploads/material/journal/thumbnail/'.$v->getPhotoPath(), $options = array()) ?>
				<?php  echo link_to(image_tag('/uploads/material/news/_thumbnail/'.$v->getPhotoPath(),'title="'.$v.'"'),'@news_show?id='.$v->getId() ) ?>
				</div>
				<?php endif ?> 
			   
				  
				  <div  class="main_title_link" style="padding-top: 5px; text-align: left"><?php echo link_to($v->getTitle(),'@news_show?id='.$v->getId())?>
				  <?php if ($v->getShortContent()!='<br>' and $v->getShortContent()!=''):?>
				  <?php echo $v->getShortContent().''?>
				  <?php endif ?>
				  </div> 				  
				  <div class="floatright"><?php echo link_to(__('Подробнее...'),'@news_show?id='.$v->getId())?></div>
				  <div class="clear"></div>
                            </div>
                        </div>
                    </div>
                </div>
                
            </div>	
                        <?php if($sf_user->isAuthenticated() and $sf_user->isSuperAdmin()):?>
  						<?php echo link_to(__('Редактировать'),'@news_edit?id='.$v->getId())?> |
  						<?php echo link_to(__('Удалить'),'@news_delete?id='.$v->getId(),array('confirm'=>__('Вы уверены?')))?>
  						<?php endif ?>			 
				 
              </td>
